package com.dwxt.community.aiequipment.sellmachine.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SellMachineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SellMachineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andGpsLngIsNull() {
            addCriterion("gps_lng is null");
            return (Criteria) this;
        }

        public Criteria andGpsLngIsNotNull() {
            addCriterion("gps_lng is not null");
            return (Criteria) this;
        }

        public Criteria andGpsLngEqualTo(Double value) {
            addCriterion("gps_lng =", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngNotEqualTo(Double value) {
            addCriterion("gps_lng <>", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngGreaterThan(Double value) {
            addCriterion("gps_lng >", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngGreaterThanOrEqualTo(Double value) {
            addCriterion("gps_lng >=", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngLessThan(Double value) {
            addCriterion("gps_lng <", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngLessThanOrEqualTo(Double value) {
            addCriterion("gps_lng <=", value, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngIn(List<Double> values) {
            addCriterion("gps_lng in", values, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngNotIn(List<Double> values) {
            addCriterion("gps_lng not in", values, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngBetween(Double value1, Double value2) {
            addCriterion("gps_lng between", value1, value2, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLngNotBetween(Double value1, Double value2) {
            addCriterion("gps_lng not between", value1, value2, "gpsLng");
            return (Criteria) this;
        }

        public Criteria andGpsLatIsNull() {
            addCriterion("gps_lat is null");
            return (Criteria) this;
        }

        public Criteria andGpsLatIsNotNull() {
            addCriterion("gps_lat is not null");
            return (Criteria) this;
        }

        public Criteria andGpsLatEqualTo(Double value) {
            addCriterion("gps_lat =", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatNotEqualTo(Double value) {
            addCriterion("gps_lat <>", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatGreaterThan(Double value) {
            addCriterion("gps_lat >", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatGreaterThanOrEqualTo(Double value) {
            addCriterion("gps_lat >=", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatLessThan(Double value) {
            addCriterion("gps_lat <", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatLessThanOrEqualTo(Double value) {
            addCriterion("gps_lat <=", value, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatIn(List<Double> values) {
            addCriterion("gps_lat in", values, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatNotIn(List<Double> values) {
            addCriterion("gps_lat not in", values, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatBetween(Double value1, Double value2) {
            addCriterion("gps_lat between", value1, value2, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andGpsLatNotBetween(Double value1, Double value2) {
            addCriterion("gps_lat not between", value1, value2, "gpsLat");
            return (Criteria) this;
        }

        public Criteria andIccidIsNull() {
            addCriterion("iccid is null");
            return (Criteria) this;
        }

        public Criteria andIccidIsNotNull() {
            addCriterion("iccid is not null");
            return (Criteria) this;
        }

        public Criteria andIccidEqualTo(String value) {
            addCriterion("iccid =", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotEqualTo(String value) {
            addCriterion("iccid <>", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidGreaterThan(String value) {
            addCriterion("iccid >", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidGreaterThanOrEqualTo(String value) {
            addCriterion("iccid >=", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLessThan(String value) {
            addCriterion("iccid <", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLessThanOrEqualTo(String value) {
            addCriterion("iccid <=", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLike(String value) {
            addCriterion("iccid like", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotLike(String value) {
            addCriterion("iccid not like", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidIn(List<String> values) {
            addCriterion("iccid in", values, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotIn(List<String> values) {
            addCriterion("iccid not in", values, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidBetween(String value1, String value2) {
            addCriterion("iccid between", value1, value2, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotBetween(String value1, String value2) {
            addCriterion("iccid not between", value1, value2, "iccid");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityIsNull() {
            addCriterion("signal_intensity is null");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityIsNotNull() {
            addCriterion("signal_intensity is not null");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityEqualTo(Integer value) {
            addCriterion("signal_intensity =", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityNotEqualTo(Integer value) {
            addCriterion("signal_intensity <>", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityGreaterThan(Integer value) {
            addCriterion("signal_intensity >", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityGreaterThanOrEqualTo(Integer value) {
            addCriterion("signal_intensity >=", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityLessThan(Integer value) {
            addCriterion("signal_intensity <", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityLessThanOrEqualTo(Integer value) {
            addCriterion("signal_intensity <=", value, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityIn(List<Integer> values) {
            addCriterion("signal_intensity in", values, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityNotIn(List<Integer> values) {
            addCriterion("signal_intensity not in", values, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityBetween(Integer value1, Integer value2) {
            addCriterion("signal_intensity between", value1, value2, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andSignalIntensityNotBetween(Integer value1, Integer value2) {
            addCriterion("signal_intensity not between", value1, value2, "signalIntensity");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionIsNull() {
            addCriterion("firmware_version is null");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionIsNotNull() {
            addCriterion("firmware_version is not null");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionEqualTo(Integer value) {
            addCriterion("firmware_version =", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionNotEqualTo(Integer value) {
            addCriterion("firmware_version <>", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionGreaterThan(Integer value) {
            addCriterion("firmware_version >", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("firmware_version >=", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionLessThan(Integer value) {
            addCriterion("firmware_version <", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionLessThanOrEqualTo(Integer value) {
            addCriterion("firmware_version <=", value, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionIn(List<Integer> values) {
            addCriterion("firmware_version in", values, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionNotIn(List<Integer> values) {
            addCriterion("firmware_version not in", values, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionBetween(Integer value1, Integer value2) {
            addCriterion("firmware_version between", value1, value2, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andFirmwareVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("firmware_version not between", value1, value2, "firmwareVersion");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentIsNull() {
            addCriterion("charging_current is null");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentIsNotNull() {
            addCriterion("charging_current is not null");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentEqualTo(Integer value) {
            addCriterion("charging_current =", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentNotEqualTo(Integer value) {
            addCriterion("charging_current <>", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentGreaterThan(Integer value) {
            addCriterion("charging_current >", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentGreaterThanOrEqualTo(Integer value) {
            addCriterion("charging_current >=", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentLessThan(Integer value) {
            addCriterion("charging_current <", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentLessThanOrEqualTo(Integer value) {
            addCriterion("charging_current <=", value, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentIn(List<Integer> values) {
            addCriterion("charging_current in", values, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentNotIn(List<Integer> values) {
            addCriterion("charging_current not in", values, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentBetween(Integer value1, Integer value2) {
            addCriterion("charging_current between", value1, value2, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andChargingCurrentNotBetween(Integer value1, Integer value2) {
            addCriterion("charging_current not between", value1, value2, "chargingCurrent");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageIsNull() {
            addCriterion("battery_voltage is null");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageIsNotNull() {
            addCriterion("battery_voltage is not null");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageEqualTo(Integer value) {
            addCriterion("battery_voltage =", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageNotEqualTo(Integer value) {
            addCriterion("battery_voltage <>", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageGreaterThan(Integer value) {
            addCriterion("battery_voltage >", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageGreaterThanOrEqualTo(Integer value) {
            addCriterion("battery_voltage >=", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageLessThan(Integer value) {
            addCriterion("battery_voltage <", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageLessThanOrEqualTo(Integer value) {
            addCriterion("battery_voltage <=", value, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageIn(List<Integer> values) {
            addCriterion("battery_voltage in", values, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageNotIn(List<Integer> values) {
            addCriterion("battery_voltage not in", values, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageBetween(Integer value1, Integer value2) {
            addCriterion("battery_voltage between", value1, value2, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andBatteryVoltageNotBetween(Integer value1, Integer value2) {
            addCriterion("battery_voltage not between", value1, value2, "batteryVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageIsNull() {
            addCriterion("sun_voltage is null");
            return (Criteria) this;
        }

        public Criteria andSunVoltageIsNotNull() {
            addCriterion("sun_voltage is not null");
            return (Criteria) this;
        }

        public Criteria andSunVoltageEqualTo(Integer value) {
            addCriterion("sun_voltage =", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageNotEqualTo(Integer value) {
            addCriterion("sun_voltage <>", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageGreaterThan(Integer value) {
            addCriterion("sun_voltage >", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageGreaterThanOrEqualTo(Integer value) {
            addCriterion("sun_voltage >=", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageLessThan(Integer value) {
            addCriterion("sun_voltage <", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageLessThanOrEqualTo(Integer value) {
            addCriterion("sun_voltage <=", value, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageIn(List<Integer> values) {
            addCriterion("sun_voltage in", values, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageNotIn(List<Integer> values) {
            addCriterion("sun_voltage not in", values, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageBetween(Integer value1, Integer value2) {
            addCriterion("sun_voltage between", value1, value2, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andSunVoltageNotBetween(Integer value1, Integer value2) {
            addCriterion("sun_voltage not between", value1, value2, "sunVoltage");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityIsNull() {
            addCriterion("daily_electricity is null");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityIsNotNull() {
            addCriterion("daily_electricity is not null");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityEqualTo(Integer value) {
            addCriterion("daily_electricity =", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityNotEqualTo(Integer value) {
            addCriterion("daily_electricity <>", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityGreaterThan(Integer value) {
            addCriterion("daily_electricity >", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityGreaterThanOrEqualTo(Integer value) {
            addCriterion("daily_electricity >=", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityLessThan(Integer value) {
            addCriterion("daily_electricity <", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityLessThanOrEqualTo(Integer value) {
            addCriterion("daily_electricity <=", value, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityIn(List<Integer> values) {
            addCriterion("daily_electricity in", values, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityNotIn(List<Integer> values) {
            addCriterion("daily_electricity not in", values, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityBetween(Integer value1, Integer value2) {
            addCriterion("daily_electricity between", value1, value2, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyElectricityNotBetween(Integer value1, Integer value2) {
            addCriterion("daily_electricity not between", value1, value2, "dailyElectricity");
            return (Criteria) this;
        }

        public Criteria andDailyChargeIsNull() {
            addCriterion("daily_charge is null");
            return (Criteria) this;
        }

        public Criteria andDailyChargeIsNotNull() {
            addCriterion("daily_charge is not null");
            return (Criteria) this;
        }

        public Criteria andDailyChargeEqualTo(Integer value) {
            addCriterion("daily_charge =", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeNotEqualTo(Integer value) {
            addCriterion("daily_charge <>", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeGreaterThan(Integer value) {
            addCriterion("daily_charge >", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeGreaterThanOrEqualTo(Integer value) {
            addCriterion("daily_charge >=", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeLessThan(Integer value) {
            addCriterion("daily_charge <", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeLessThanOrEqualTo(Integer value) {
            addCriterion("daily_charge <=", value, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeIn(List<Integer> values) {
            addCriterion("daily_charge in", values, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeNotIn(List<Integer> values) {
            addCriterion("daily_charge not in", values, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeBetween(Integer value1, Integer value2) {
            addCriterion("daily_charge between", value1, value2, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andDailyChargeNotBetween(Integer value1, Integer value2) {
            addCriterion("daily_charge not between", value1, value2, "dailyCharge");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureIsNull() {
            addCriterion("battery_temperature is null");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureIsNotNull() {
            addCriterion("battery_temperature is not null");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureEqualTo(Integer value) {
            addCriterion("battery_temperature =", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureNotEqualTo(Integer value) {
            addCriterion("battery_temperature <>", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureGreaterThan(Integer value) {
            addCriterion("battery_temperature >", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureGreaterThanOrEqualTo(Integer value) {
            addCriterion("battery_temperature >=", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureLessThan(Integer value) {
            addCriterion("battery_temperature <", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureLessThanOrEqualTo(Integer value) {
            addCriterion("battery_temperature <=", value, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureIn(List<Integer> values) {
            addCriterion("battery_temperature in", values, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureNotIn(List<Integer> values) {
            addCriterion("battery_temperature not in", values, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureBetween(Integer value1, Integer value2) {
            addCriterion("battery_temperature between", value1, value2, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andBatteryTemperatureNotBetween(Integer value1, Integer value2) {
            addCriterion("battery_temperature not between", value1, value2, "batteryTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureIsNull() {
            addCriterion("mainboard_temperature is null");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureIsNotNull() {
            addCriterion("mainboard_temperature is not null");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureEqualTo(Integer value) {
            addCriterion("mainboard_temperature =", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureNotEqualTo(Integer value) {
            addCriterion("mainboard_temperature <>", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureGreaterThan(Integer value) {
            addCriterion("mainboard_temperature >", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureGreaterThanOrEqualTo(Integer value) {
            addCriterion("mainboard_temperature >=", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureLessThan(Integer value) {
            addCriterion("mainboard_temperature <", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureLessThanOrEqualTo(Integer value) {
            addCriterion("mainboard_temperature <=", value, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureIn(List<Integer> values) {
            addCriterion("mainboard_temperature in", values, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureNotIn(List<Integer> values) {
            addCriterion("mainboard_temperature not in", values, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureBetween(Integer value1, Integer value2) {
            addCriterion("mainboard_temperature between", value1, value2, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andMainboardTemperatureNotBetween(Integer value1, Integer value2) {
            addCriterion("mainboard_temperature not between", value1, value2, "mainboardTemperature");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNull() {
            addCriterion("user_type is null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNotNull() {
            addCriterion("user_type is not null");
            return (Criteria) this;
        }

        public Criteria andUserTypeEqualTo(Integer value) {
            addCriterion("user_type =", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotEqualTo(Integer value) {
            addCriterion("user_type <>", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThan(Integer value) {
            addCriterion("user_type >", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_type >=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThan(Integer value) {
            addCriterion("user_type <", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(Integer value) {
            addCriterion("user_type <=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeIn(List<Integer> values) {
            addCriterion("user_type in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotIn(List<Integer> values) {
            addCriterion("user_type not in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeBetween(Integer value1, Integer value2) {
            addCriterion("user_type between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("user_type not between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(Integer value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(Integer value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(Integer value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(Integer value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<Integer> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<Integer> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(Integer value1, Integer value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andUseingIsNull() {
            addCriterion("useing is null");
            return (Criteria) this;
        }

        public Criteria andUseingIsNotNull() {
            addCriterion("useing is not null");
            return (Criteria) this;
        }

        public Criteria andUseingEqualTo(Integer value) {
            addCriterion("useing =", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingNotEqualTo(Integer value) {
            addCriterion("useing <>", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingGreaterThan(Integer value) {
            addCriterion("useing >", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingGreaterThanOrEqualTo(Integer value) {
            addCriterion("useing >=", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingLessThan(Integer value) {
            addCriterion("useing <", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingLessThanOrEqualTo(Integer value) {
            addCriterion("useing <=", value, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingIn(List<Integer> values) {
            addCriterion("useing in", values, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingNotIn(List<Integer> values) {
            addCriterion("useing not in", values, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingBetween(Integer value1, Integer value2) {
            addCriterion("useing between", value1, value2, "useing");
            return (Criteria) this;
        }

        public Criteria andUseingNotBetween(Integer value1, Integer value2) {
            addCriterion("useing not between", value1, value2, "useing");
            return (Criteria) this;
        }

        public Criteria andControlNoIsNull() {
            addCriterion("control_no is null");
            return (Criteria) this;
        }

        public Criteria andControlNoIsNotNull() {
            addCriterion("control_no is not null");
            return (Criteria) this;
        }

        public Criteria andControlNoEqualTo(String value) {
            addCriterion("control_no =", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoNotEqualTo(String value) {
            addCriterion("control_no <>", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoGreaterThan(String value) {
            addCriterion("control_no >", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoGreaterThanOrEqualTo(String value) {
            addCriterion("control_no >=", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoLessThan(String value) {
            addCriterion("control_no <", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoLessThanOrEqualTo(String value) {
            addCriterion("control_no <=", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoLike(String value) {
            addCriterion("control_no like", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoNotLike(String value) {
            addCriterion("control_no not like", value, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoIn(List<String> values) {
            addCriterion("control_no in", values, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoNotIn(List<String> values) {
            addCriterion("control_no not in", values, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoBetween(String value1, String value2) {
            addCriterion("control_no between", value1, value2, "controlNo");
            return (Criteria) this;
        }

        public Criteria andControlNoNotBetween(String value1, String value2) {
            addCriterion("control_no not between", value1, value2, "controlNo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}